<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			var arrList = ["Amaricar", "China", "Japan", "Canada", "England"];
			var count = 0;
			for (var i in arrList) {
				var arr = arrList[i].toLowerCase();
				if (arr[i].indexOf("a") != -1) {
					count++;
				}
			}
			document.write(count);
		</script>
	</head>
	<body>
	</body>
</html>
